package com.john.market.interfaces;

/**
 * Storage interface
 *
 */
public abstract class Storage implements IBuyer, ISeller {
	// Refresh listener
	protected OnRefreshListener mListener = null;
	
	/**
	 * Sets refresh listener
	 * 
	 * @param listener
	 * Listener of the refresh notification
	 * 
	 */
	public void setOnRefreshListener(OnRefreshListener listener) {
		this.mListener = listener;
		
	}
	
	/**
	 * Call to notify refresh listener 
	 */
	protected abstract void refresh();
	
}
